<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns="http://www.w3.org/1999/xhtml" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:rich="http://richfaces.org/rich" xmlns:sf="http://www.whatisjee.com/ssf/functions" contentType="text/html">
	<html>
		<head>
			<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
			<title>
				<h:outputFormat value="#{messages['cmm.title']}">
					<f:param value="#{title}"/>
				</h:outputFormat>
			</title>			
			<link href="#{request.contextPath}/common/image/favicon.ico" rel="shortcut icon"/>
                        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/common/style/ssf.css" />
                        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/common/style/ssf-cn.css" rendered="#{localeSelector.language eq 'zh'}" />
                        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/common/style/ssf-popup.css" rendered="#{param['cb'] ne null}" />
			<script type="text/javascript">
			/* <![CDATA[ */
				var gMsg = {
					"remove": "#{messages['cmm.confirmDelete']}",
					"confirm": "#{messages['cmm.confirmConfirm']}"
				};
			/* ]]> */
			</script>
			<ui:insert name="head"/>
		</head>
		<body>
			<h:form id="fMain">
				<f:facet name="afterInvalidField">
					<s:message styleClass="error-msg"/>
				</f:facet>
				<ui:insert name="inForm" />
			</h:form>
			<ui:insert name="afterForm"/>
			<div id="errMsgBox">
				<div id="arrow"></div>
				<div id="errMsgTxt"></div>
			</div>
		</body>
	</html>
</f:view>